package com.training.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.training.common.dao.GenericDao;
import com.training.common.service.impl.GenericServiceImpl;
import com.training.dao.CityMapper;
import com.training.model.City;
import com.training.service.CityService;

@Service
public class CityServiceImpl extends GenericServiceImpl<City, Integer>implements CityService{
	@Resource
	CityMapper cityMapper;

	@Override
	public GenericDao<City, Integer> getDao() {
		return cityMapper;
	}

}
